import frappe
from erpnext.stock.doctype.delivery_note.delivery_note import DeliveryNote

class Zelin_Shoe_BizDeliveryNote(DeliveryNote):
    def update_stock_ledger(self):
        if not self.get("is_drop_ship"):
            super().update_stock_ledger()

    def make_gl_entries(self):
        if not self.get("is_drop_ship"):
            super().make_gl_entries()

    def repost_future_sle_and_gle(self):
        if not self.get("is_drop_ship"):
            super().repost_future_sle_and_gle()
